package com.laowu;

import com.laowu.bean.User;
import com.laowu.mapper.UserMapper;
import com.laowu.sqlsession.MySqlsession;

/**
 * @author laowu
 * @date 2020/3/24 17:11
 * @desc Main
 */
public class Main {

    public static void main(String[] args) {
        MySqlsession sqlsession=new MySqlsession();
        UserMapper mapper = sqlsession.getMapper(UserMapper.class);
        User user = mapper.getUserById("1");
        System.out.println(user);
    }
}
